<html>
<head>
<title>Error!</title>
<style type="text/css" media="screen">
/* <![CDATA[ */
* {
    margin:0; padding:0}
body {
    background:#e9e9e9 url('<?php echo $base ?>/img/error-zf-watermark.png') no-repeat bottom right fixed;
    color:#333;
    font-family:"Helvetica Neue", "Trebuchet MS", Helvetica, Arial, sans-serif;}
#wrap {
    background:url('<?php echo $base ?>/img/error-bg-top.png') repeat-x top;
    text-align:center}
#container {
    min-width:770px; width:95%;
    margin:auto;
    text-align:left}
#header {
    height:130px;
    background:url('<?php echo $base ?>/img/error-zf-header.png') no-repeat top left}
#content, #footer {
    background:#fff url('<?php echo $base ?>/img/error-zf-watermark-white.png') no-repeat bottom right fixed;
    border:1px solid #ccc;
    padding:20px 25px; margin-bottom:10px}
#footer {
    padding:10px 25px}
#desc {
    background:#f6e2e2 url('<?php echo $base ?>/img/error-icon.png') no-repeat 10px 50%;
    padding:5px 10px 5px 75px; min-height:65px; margin-bottom:20px; border:#fbb 2px solid}
h2 {
    font-weight:normal; font-size:21px}
.class, .message, .location {
    padding:0 10px; margin-bottom:5px}
.class strong {
    font-weight:bold; color:#f00}
.location {
    background:#ffc; font-size:14px}
ol {
    font-size:14px; margin-left:1.5em;}
li {
    clear:both; padding-bottom:5px; margin-bottom:5px;
    border-bottom:1px dashed #ccc;}
div.location {
    float: right; margin-bottom:0;}
pre, code, tt {
    font:12px 'andale mono', 'lucida sans typewriter', monospace;line-height:1.2}
.details {
    font-size:11px; background:#e9e9e9 url('<?php echo $base ?>/img/error-zf-watermark.png') no-repeat bottom right fixed;
    padding:5px 10px; display:none}
#footer tt {
    color: #f00;}
/* ]]> */
</style>
<script type="text/javascript">
// <![CDATA[
    function toggle(id)
    {
        var elem = document.getElementById(id);
        if (elem.style.display != 'block') {
            elem.style.display = 'block';
        } else {
            elem.style.display = 'none';
        }
    }
// ]]>
</script>
</head>
<body>
<div id="wrap">
<div id="container">
<div id="header"></div>
<div id="content">
    <div id="desc">
    <h2 class="class"><strong><?php echo $class ?></strong><?php if (!empty($code)) echo " ($code)"; ?></h2>
    <p class="message"><?php echo $message ?></p>
    <p class="location">File: <strong><?php echo $file ?></strong> Line: <strong><?php echo $line ?></strong></p>
    </div>
    <h3>Stack trace:</h3>
    <p id="trace"><?php echo $trace ?></p>
</div>
<div id="footer"><tt>::</tt> Don't forget to disable exception throwing in live servers!</div>
</div>
</div>
</body>
<!-- template and images by Mon Zafra -->
</html>